@import './variables.scss';
@import './mixin.scss';

// 全局样式
html {
  height: 100%;
  box-sizing: border-box;
}

body {
  height: 100%;
  margin: 0;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica Neue,
    Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

#app {
  height: 100%;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

// 常用类
.pointer {
  cursor: pointer;
}

.flex-center {
  @include flex(row, center, center);
}

.clearfix {
  @include clearfix;
}

.ellipsis {
  @include ellipsis;
}

// 滚动条样式
.scrollbar {
  @include scrollbar;
}

:root {
  --menu-bg: #{$menuBg};
  --menu-text: #{$menuText};
  --menu-active-text: #{$menuActiveText};
}
